<%@ page import="java.util.*,java.sql.*,java.math.BigDecimal,java.text.SimpleDateFormat"%>
<%@ page import="pc.system.*,wstrader.*,wstrader.task.*,pc.util.*" %> 
<%
	StringTokenizer st = new StringTokenizer(request.getParameter("refno"), "|"); 
	String uid=st.nextToken();
	String rno=st.nextToken();

	Users user = Trader.getUser(uid);
	
	if (user == null || !user.Authenticated()) {
		response.sendRedirect("logon.jsp");	
		return;
	}
	wstrader.task.traffic.physical.Contract task = user.traffic.physical.contract;
	float AvlTon = task.chkRefNumber(rno);
%>
<input name="chkbalton" type="hidden" id="chkbalton" value="<%=AvlTon%>" />